projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8791c
)
Don't compare booleans
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 9 Dec 2014 05:22:56 +0000
(
00:22
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 9 Dec 2014 05:42:40 +0000
(
00:42
-0500)
Just use negation.
gtk/gtktreemodel.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreemodel.c
b/gtk/gtktreemodel.c
index 362e339886556f6ad6c95f629fc0c4540dc70d27..39065621f762b1cc8470ce45745b019ba683b583 100644
(file)
--- a/
gtk/gtktreemodel.c
+++ b/
gtk/gtktreemodel.c
@@
-2014,7
+2014,7
@@
gtk_tree_model_foreach (GtkTreeModel *model,
g_return_if_fail (func != NULL);
path = gtk_tree_path_new_first ();
- if (
gtk_tree_model_get_iter (model, &iter, path) == FALSE
)
+ if (
!gtk_tree_model_get_iter (model, &iter, path)
)
{
gtk_tree_path_free (path);
return;